@width: 100%;

.display {
  display: inline-block;
  vertical-align: top;
}

.box {
  box-sizing: border-box;
}

.ly-content {
  .ly-li {
    width: @width;
    font-size: 0;
    padding: 10px 0;
    margin: 30px 0;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    li {
      width: 15%;
      .display;
      font-size: 14px;
      text-align: center;
      &:first-child {
        width: 40%;
      }
    }
  }
  .ly-list {
    width: @width;
    li {
      width: @width;
      padding: 0 0 20px;
      margin-bottom: 20px;
      border-bottom: 1px dashed #e5e5e5;
      font-size: 0;
      dl {
        width: 15%;
        .display;
        height: 140px;
        font-size: 14px;
        text-align: center;
        border-right: 1px solid #e5e5e5;
        .box;
        &:nth-child(2){
          text-align: left;
          padding-left: 30px;
        }
        &:first-child {
          width: 40%;
          .box;
          text-align: left;
        }
        &:last-child{
          border-right: none;
        }
        img {
          width: 150px;
          float: left;
          margin-right: 20px;
        }
        h1 {
          font-size: 14px;
          line-height: 30px;
          font-weight: 700;
        }
        h2 {
          font-size: 14px;
          color: #000;
          line-height: 30px;
        }
        h3 {
          font-size: 12px;
          line-height: 20px;
        }
        h4{
          line-height: 30px;
        }
        h5 {
          font-size: 13px;
          line-height: 30px;
          color: #666;
        }
        h6 {
          font-size: 14px;
          color: #000;
          line-height: 30px;
        }
        p {
          font-size: 13px;
          line-height: 20px;
          color: #666;
        }
        a {
          width: @width;
          text-align: center;
          line-height: 30px;
          display: block;
        }
      }
    }
  }
}

.ly-h1 {
  width: @width;
  padding-top: 40px;
  text-align: right;
  font-size: 14px;
  a {
    margin-left: 5px;
    color: #fff;
    text-decoration: underline;
  }
}

@media screen  and (max-width: 760px) {
  .ly-content {
    .ly-li {
      display: none;
    }
    .ly-list {
      margin-top: 20px;
      li {
        dl {
          border-right: none;
          height: auto;
          &:nth-child(1) {
            width: @width;
          }
          &:nth-child(2){
            text-align: center;
            padding-left: 0;
          }
          img {
            width: 100px;
            margin-right: 10px;
          }
          h1 {
            line-height: 30px;
          }
          &:nth-child(2) {
            display: none;
          }
          &:nth-child(3) {
            width: @width;
            text-align: right;
            line-height: 30px;
            h2 {
              display: inline;
              float: left;
              line-height: 30px;
            }
            p {
              display: inline;
              line-height: 30px;
            }
          }
          &:nth-child(4) {
            width: @width;
            text-align: left;
            h5 {
              line-height: 30px;
            }
          }
          &:nth-child(5) {
            width: @width;
            text-align: right;
            a{
              display: inline;
              margin-left: 30px;
            }
          }
        }
      }
    }
  }
}